package com.sczmgk.hotline_pzh.manager;

import com.sczmgk.hotline_pzh.MyApp;

/**
 * 会话管理器
 * 
 * @author Administrator
 * 
 */
public class TalkManager {

	private TalkManager() {};
	private static TalkManager instance;
	public static TalkManager getInstance(){
		if(instance == null){
			return new TalkManager();
		}else{
			
		}
		return instance;
	}

	/**
	 * 取得登录的用户名
	 * 
	 * @return
	 */
	public String getLoginUserName() {
		return MyApp.loginUserName;
	}
	/**
	 * 取得登录的用ID
	 * 
	 * @return
	 */
	public int getLoginUserUid() {
		return MyApp.loginUserUid;
	}
//	/**
//	 * 取得登录的电话号码
//	 * 
//	 * @return
//	 */
//	public String getLoginPhoneNumber() {
//		return MyApp.LoginPhoneNumber;
//	}
}
